﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="BTKERP.MVCWeb.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Content/js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../../Content/CSS/style.css" type="text/css" />
    <link rel="stylesheet" href="../../Content/CSS/custom.css" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function () {
            var errorCode = '<%=ErrorCode %>';
            if (errorCode == '1')
            {
                alert("Login Failed!");
            }
        });

        function login() {
            $("#form2").submit();
        }
    </script>
</head>
<body>
   <form id="form2" runat="server"  method="post" action="Dashboard/Login">
    <header id="top">
		<div class="wrapper-login">
			<!-- Title/Logo - can use text instead of image -->
			<div id="title"><img SRC="/Content/img/logo.png" alt="Administry" /><!--<span>Administry</span> demo--></div>

			<aside><b>English</b> &middot;</aside>
			<!-- End of Aside links -->
		</div>
	</header>
	<!-- End of Header -->
	<!-- Page title -->
    
	
	<!-- End of Page title -->
	
	<!-- Page content -->
	<div id="page">
		<!-- Wrapper -->
		<div class="wrapper-login">
				<!-- Login form -->		
						<form id="loginform" method="post" action="Dashboard/Login">
			<%--		<div class="box box-info">Type anything to log in</div>--%>


						<p>
							<label class="required" for="username">Username:</label><br/>
							<input type="text" id="username" class="full" value="" name="username"/>
						</p>
						
						<p>
							<label class="required" for="password">Password:</label><br/>
							<input type="password" id="password" class="full" value="" name="password"/>
						</p>
						
						<p>
							<input type="checkbox" id="remember" class="" value="1" name="remember"/>
							<label class="choice" for="remember">Remember me?</label>
						</p>
						
						<p>
							<input type="button" onclick="login();" runat="server" class="btn btn-green big" value="Login"/> &nbsp; <a href="javascript: //;" onClick="$('#emailform').slideDown(); return false;">Forgot password?</a> or <a href="#">Need help?</a>
						</p>
						<div class="clear">&nbsp;</div>

                    </form>
					
					<form id="emailform" style="display:none" method="post" action="#">
						<div class="box">
							<p id="emailinput">
								<label for="email">Email:</label><br/>
								<input type="text" id="email" class="full" value="" name="email"/>
							</p>
							<p>
								<input type="submit" class="btn" value="Send"/>
							</p>
						</div>
				  </form>
				
		</div>
		<!-- End of Wrapper -->
	</div>
	<!-- End of Page content -->
    </form>
</body>
</html>
